﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HealthcareSystem.Domain
{
    /// <summary>
    /// 居民就诊表
    /// </summary>
    [Table("medical")]
    public class Medical
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int MedicalId { get; set; }
        /// <summary>
        /// 居民基础外键
        /// </summary>
        public int RecordId { get; set; }
        /// <summary>
        /// 就诊类型
        /// </summary>
        public string? Medicalvisit { get; set; }
        /// <summary>
        /// 就诊机构
        /// </summary>
        public string? Medittreatment { get; set; }
        /// <summary>
        /// 诊断
        /// </summary>
        public string? MedicalDiagnosis { get; set; }
        /// <summary>
        /// 就诊医生
        /// </summary>
        public string? MedicalDoctor { get; set; }
        /// <summary>
        /// 就诊时间
        /// </summary>
        public string? MedicalTime { get; set; }
    }
}
